home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form2
- BackColor = &H00FFFF00&
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 3195
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 4215
- ForeColor = &H00FFFF00&
- LinkTopic = "Form1"
- ScaleHeight = 3195
- ScaleWidth = 4215
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command1
- Caption = "&Start"
- Height = 375
- Left = 1560
- TabIndex = 1
- Top = 2760
- Width = 1575
- End
- Begin VB.Timer Timer1
- Interval = 1
- Left = 0
- Top = 2760
- End
- Begin VB.Label Label4
- BackStyle = 0 'Transparent
- Caption = "D"
- BeginProperty Font
- Name = "Franklin Gothic Book"
- Size = 48
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 975
- Left = 3600
- TabIndex = 4
- Top = 840
- Width = 615
- End
- Begin VB.Label Label3
- BackStyle = 0 'Transparent
- Caption = "e"
- BeginProperty Font
- Name = "Franklin Gothic Book"
- Size = 48
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 975
- Left = 2400
- TabIndex = 3
- Top = 840
- Width = 495
- End
- Begin VB.Label Label2
- BackStyle = 0 'Transparent
- Caption = "e"
- BeginProperty Font
- Name = "Franklin Gothic Book"
- Size = 48
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 975
- Left = 1200
- TabIndex = 2
- Top = 840
- Width = 495
- End
- Begin VB.Label Label1
- BackStyle = 0 'Transparent
- Caption = "S"
- BeginProperty Font
- Name = "Franklin Gothic Book"
- Size = 48
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 975
- Left = 0
- TabIndex = 0
- Top = 840
- Width = 495
- End
- Attribute VB_Name = "Form2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Sub Pause(interval)
- 'pause/waits for "interval" seconds
- Current = Timer
- Do While Timer - Current < Val(interval)
- DoEvents
- Loop
- End Sub
- Private Sub Command1_Click()
- Timer1.Enabled = True
- End Sub
- Private Sub Form_Load()
- Timer1.Enabled = False
- End Sub
- Private Sub Timer1_Timer()
- Label1.Left = Label1.Left + 150
- If Label1.Top = 840 And Label1.Left = 1080 Then
-
- Pause (5)
-
- End If
-
- '__________________________________________________________________
- 'Next letter...
- '__________________________________________________________________
- Label2.Left = Label2.Left + 150
- If Label2.Left = 1560 And Label2.Top = 840 Then
-
- Pause (5)
-
- End If
-
- '__________________________________________________________________
- 'Next letter...
- '__________________________________________________________________
- Label3.Left = Label3.Left - 150
- If Label3.Left = 2040 And Label3.Top = 840 Then
-
- Pause (5)
-
- End If
-
- '__________________________________________________________________
- 'Next letter...
- '__________________________________________________________________
- Label4.Left = Label4.Left - 150
-
- If Label4.Left = 2520 And Label4.Top = 840 Then
-
- Pause (5)
-
- End If
-
- End Sub
-